import { SexRecord, SexMap } from './enums';

export const getSexByRecord = (sex: string) => SexRecord[sex] || '未知';

export const getSexByMap = (sex: string) => SexMap.get(sex) || '未知';
